﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="Add.aspx.cs" Inherits="WEB.contract.Add" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    上传合同
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
    <table width="100%">
        <tr>
            <td align="center">
                <table width="600px" class="distance" cellspacing="4" cellpadding="4">
                    <tr>
                        <td align="right">
                            公司名：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbCID" runat="server"></asp:TextBox>
                        </td>
                        <td align="right">
                            合同号：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbNO" runat="server" MaxLength="20"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            开始日期：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbDate1" runat="server" class="Wdate"></asp:TextBox>
                        </td>
                        <td align="right">
                            到期日期：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbDate2" runat="server" class="Wdate"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            合同上传
                        </td>
                        <td align="left" colspan="3">
                            <asp:FileUpload ID="FileUpload" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            备注：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbRemarks" runat="server" Height="140px" TextMode="MultiLine"></asp:TextBox>
                        </td>
                        <td colspan="2">
                        <div align="left">
                            <asp:Label ID="Label2" runat="server" Text="<font color=#0066CC>--备注：</br>--上传的文件的大小不可以超过<font color='red'>20M</font></br>--<font color=#0066CC>只允许上传的文件的类型有:</font></br>--<font color='red'>jpg,bmp,pdf,doc,zip,rar</font><font color=#0066CC>等格式</font>">
                            </asp:Label>
                        </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td align="center">
                            <asp:Button ID="btSave" runat="server" Text="保存" CssClass="Submit_yellowbig" OnClientClick="return confirm('请检查信息，上传后信息将不能修改！')"
                                OnClick="btSave_Click" />
                        </td>
                        <td>
                        </td>
                        <td align="center">
                            <input id="return" class="Submit_yellowbig" onclick="window.history.go(-1)" 
                                type="button" value="返回" /></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
